package com.zqw.pojo;

import com.zqw.ss.MyPa;

import java.util.List;

public class GoodsPojo {

    @MyPa("goodsId")
    private String gid;
    @MyPa("goodsName")
    private String gname;
    @MyPa("goodsImage")
    private String gimage;
    @MyPa("goodsPrice")
    private float gprice;
    @MyPa("goodsType")
    private int gtype = -1;
    @MyPa("goodsDesc")
    private String gdesc;
    @MyPa("goodsDiscount")
    private float gdiscount;
    @MyPa("goodsIsdelete")
    private int gisdelete;
    @MyPa("goodsLabel")
    private int glabel = -1;
    @MyPa("goodsSex")
    private int gsex = -1;
    private GoodsTypePojo type;
    @MyPa("goodsNumber")
    private int num = 1;

    private int pageNum = 1;

    private int pageSize = 5;

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public GoodsTypePojo getType() {
        return type;
    }

    public void setType(GoodsTypePojo type) {
        this.type = type;
    }

    public String getGid() {
        return gid;
    }

    public void setGid(String gid) {
        this.gid = gid;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public String getGimage() {
        return gimage;
    }

    public void setGimage(String gimage) {
        this.gimage = gimage;
    }

    public float getGprice() {
        return gprice;
    }

    public void setGprice(float gprice) {
        this.gprice = gprice;
    }

    public int getGtype() {
        return gtype;
    }

    public void setGtype(int gtype) {
        this.gtype = gtype;
    }

    public String getGdesc() {
        return gdesc;
    }

    public void setGdesc(String gdesc) {
        this.gdesc = gdesc;
    }

    public float getGdiscount() {
        return gdiscount;
    }

    public void setGdiscount(float gdiscount) {
        this.gdiscount = gdiscount;
    }

    public int getGisdelete() {
        return gisdelete;
    }

    public void setGisdelete(int gisdelete) {
        this.gisdelete = gisdelete;
    }

    public int getGlabel() {
        return glabel;
    }

    public void setGlabel(int glabel) {
        this.glabel = glabel;
    }

    public int getGsex() {
        return gsex;
    }

    public void setGsex(int gsex) {
        this.gsex = gsex;
    }
}
